package com.ruoyi.erp.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;



/**
 * 编码规则明细视图对象 sys_code_rule_detail
 *
 * @author chenyun
 * @date 2022-03-06
 */
@Data
@ApiModel("编码规则明细视图对象")
@ExcelIgnoreUnannotated
public class SysCodeRuleDetailVo {

	private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
	@ExcelProperty(value = "编号")
	@ApiModelProperty("编号")
	private Long id;

    /**
     * 编码规则主表id
     */
	@ExcelProperty(value = "编码规则主表id")
	@ApiModelProperty("编码规则主表id")
	private Long codeRuleId;

    /**
     * 排序
     */
	@ExcelProperty(value = "排序")
	@ApiModelProperty("排序")
	private Integer orderNum;

    /**
     * 类型
     */
	@ExcelProperty(value = "类型")
	@ApiModelProperty("类型")
	private String type;

    /**
     * 值
     */
	@ExcelProperty(value = "值")
	@ApiModelProperty("值")
	private String value;

    /**
     * 长度
     */
	@ExcelProperty(value = "长度")
	@ApiModelProperty("长度")
	private Integer length;

    /**
     * 不满长度填充字符
     */
	@ExcelProperty(value = "不满长度填充字符")
	@ApiModelProperty("不满长度填充字符")
	private String fillChar;

    /**
     * 左填充(1：是；0：否)
     */
	@ExcelProperty(value = "左填充(1：是；0：否)")
	@ApiModelProperty("左填充(1：是；0：否)")
	private String leftFill;

    /**
     * 机构
     */
	@ExcelProperty(value = "机构")
	@ApiModelProperty("机构")
	private Long orgId;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_normal_disable")
	@ApiModelProperty("状态")
	private String status;

    /**
     * 备注
     */
	@ExcelProperty(value = "备注")
	@ApiModelProperty("备注")
	private String remark;


}
